package com.alibaba.citrus.cr.mn.order.center.facade.adapter;

import com.alibaba.citrus.cr.mn.order.center.facade.adapter.dataobject.response.BusinessUnitDTO;

import java.util.List;

/**
  * @ClassName BusinessUnitAbilityAdapter
  * @description: TODO
  * @author zhangxiaorui
  * @date 2023/06/04 21:36
  * @version: 1.0
  */
public interface BusinessUnitAbilityAdapter {

    /**
     * 查询业务单元信息
     *
     * @param businessUnitCodeList
     * @return
     */
    List<BusinessUnitDTO> queryBusinessUnit(List<String> businessUnitCodeList);

    /**
     * 校验业务单元编码是否存在
     *
     * @param businessUnitCode
     * @return
     */
    Boolean checkBusinessUnitCode(String businessUnitCode);
}
